package io.gitee.zhangbinhub.acp.boot.ftp.conf;

import io.gitee.zhangbinhub.acp.boot.ftp.constant.AcpFtpServerConstant;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.ArrayList;
import java.util.List;

@ConfigurationProperties(prefix = AcpFtpServerConstant.FTP_PROPERTIES_PREFIX)
public class AcpFtpServerConfiguration {
    public List<AcpFtpServerListenerConfiguration> getListeners() {
        return listeners;
    }

    public void setListeners(List<AcpFtpServerListenerConfiguration> listeners) {
        this.listeners = listeners;
    }

    private List<AcpFtpServerListenerConfiguration> listeners = new ArrayList<>();
}
